package com.theta.gateway.start.healthcheck;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import com.theta.gateway.infra.common.base.Result;

import lombok.extern.slf4j.Slf4j;

/**
* -健康检测
* @version V1.0.0
*/
@Slf4j
@RestController
public class HealthCheckController {
    /**
     * -健康检查
     * @return Result
     * */
    @GetMapping(value = "/slb/health")
    public Result<String> health() {
        //do nothing
    	 return Result.success("base-gateway-center activate success ! ");
    }
}